﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/Site.Master" AutoEventWireup="true"
	CodeBehind="SendEmail.aspx.cs" Inherits="Hematology.UserSite.admin.SendEmail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphRecent" runat="server">
	<hmt:PageTitle runat="server" ID="ptTitle" Text='<%$ Resources:UserSite, resCreateEmail %>' />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphHeadNews" runat="server">
	<asp:MultiView runat="server" ID="mvSendEmail">
		<asp:View runat="server" ID="vSendEmail">
			<div class="editorBlock">
				<div class="editorBlockEditControl">
					<div class="editorBlockTitle">
						<asp:Label runat="server" ID="lblEmailSubject" Text='<%$ Resources:UserSite, resEmailSubject %>' />
					</div>
					<div class="editorBlockControl">
						<asp:TextBox runat="server" ID="txtEmailSubject" MaxLength="150" />
						<asp:RequiredFieldValidator ID="vldEmailSubjectIsRequired" runat="server" ControlToValidate="txtEmailSubject"
							ErrorMessage='<%$ Resources:UserSite, resEmailSubjectIsRequired %>' Display="None"
							SetFocusOnError="true" ValidationGroup="vgSendFreeEmail" />
					</div>
				</div>
				<div class="editorBlockWisiwig">
					<CKEditor:CKEditorControl runat="server" ID="ckedEmailContent" BasePath="~/ckeditor"
						Height="300" />
					<asp:RequiredFieldValidator ID="vldEmailContentIsRequired" runat="server" ControlToValidate="ckedEmailContent"
							ErrorMessage='<%$ Resources:UserSite, resEmailContentIsRequired %>' Display="None"
							SetFocusOnError="true" ValidationGroup="vgSendFreeEmail" />
				</div>
				<div class="editorBlockButton">
					<asp:Button runat="server" ID="btnSave" Text='<%$ Resources:UserSite, resSendEmail %>'
						OnClick="btnSendEmail_Click" />
					<asp:Button runat="server" ID="btnList" Text='<%$ Resources:UserSite, resToList %>'
						OnClick="btnList_Click" />
					<asp:ValidationSummary runat="server" ID="vsSendFreeEmail" DisplayMode="BulletList" ValidationGroup="vgSendFreeEmail"
							ShowMessageBox="True" ShowSummary="False" />
				</div>
			</div>
		</asp:View>
		<asp:View runat="server" ID="vSendEmailStatus">
		</asp:View>
	</asp:MultiView>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphBody" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cphPanel" runat="server">
</asp:Content>
